<?php
	//echo $tab_name;
	
	echo CHtml::link(
		"<div>" .
			"<div style='float:left; width:20px;'>" .
				CHtml::image(Yii::app()->baseUrl."/assets/icon/icon-16-info.png") .
			"</div>" .
			"<div style='float:left; min-width:30px; text-align:center; padding-left:3px; font-weight:bold'>".
				"Thông tin chung" .
			"</div>" .
		"</div>"
		,
	   array($controller_id."/edit_thongtinchung"),
	   array("class"=> $tab_name == "thongtinchung" ? "active" : "button")
	);
	
	echo CHtml::link(
		"<div>" .
			"<div style='float:left; width:20px;'>" .
				CHtml::image(Yii::app()->baseUrl."/assets/icon/icon-16-map.png") .
			"</div>" .
			"<div style='float:left; min-width:30px; text-align:center; padding-left:3px; font-weight:bold'>".
				"Bản đồ" .
			"</div>" .
		"</div>"
		,
	   array($controller_id."/edit_bando"),
	   array("class"=>$tab_name == "bando" ? "active" : "button")
	);
	
	echo CHtml::link(
		"<div>" .
			"<div style='float:left; width:20px;'>" .
				CHtml::image(Yii::app()->baseUrl."/assets/icon/icon-16-website.png") .
			"</div>" .
			"<div style='float:left; min-width:30px; text-align:center; padding-left:3px; font-weight:bold'>".
				"Website" .
			"</div>" .
		"</div>"
		,
	   array($controller_id."/edit_website"),
	   array("class"=>$tab_name == "website" ? "active" : "button")
	);
	
	echo CHtml::link(
		"<div>" .
			"<div style='float:left; width:20px;'>" .
				CHtml::image(Yii::app()->baseUrl."/assets/icon/icon-16-jpg.png") .
			"</div>" .
			"<div style='float:left; min-width:30px; text-align:center; padding-left:3px; font-weight:bold'>".
				"Media Upload" .
			"</div>" .
		"</div>"
		,
	   array($controller_id."/edit_media"),
	   array("class"=>$tab_name == "media" ? "active" : "button")
	);
	
	echo CHtml::link(
		"<div>" .
			"<div style='float:left; width:20px;'>" .
				CHtml::image(Yii::app()->baseUrl."/assets/icon/icon-16-envelope.png") .
			"</div>" .
			"<div style='float:left; min-width:30px; text-align:center; padding-left:3px; font-weight:bold'>".
				"Mailer" .
			"</div>" .
		"</div>"
		,
	  	array($controller_id."/edit_mail"),
	   	array("class"=>$tab_name == "mail" ? "active" : "button")
	);
	
	echo CHtml::link(
		"<div>" .
			"<div style='float:left; width:20px;'>" .
				CHtml::image(Yii::app()->baseUrl."/assets/icon/icon-16-seo.png") .
			"</div>" .
			"<div style='float:left; min-width:30px; text-align:center; padding-left:3px; font-weight:bold'>".
				"SEO" .
			"</div>" .
		"</div>"
		,
	  	array($controller_id."/edit_seo"),
	   	array("class"=>$tab_name == "seo" ? "active" : "button")
	);
	
	echo CHtml::link(
		"<div>" .
			"<div style='float:left; width:20px;'>" .
				CHtml::image(Yii::app()->baseUrl."/assets/icon/icon-16-session.png") .
			"</div>" .
			"<div style='float:left; min-width:30px; text-align:center; padding-left:3px; font-weight:bold'>".
				"Session" .
			"</div>" .
		"</div>"
		,
	  	array($controller_id."/edit_session"),
	   	array("class"=>$tab_name == "session" ? "active" : "button")
	);

?>